Repository navigation
security: resolve Dependabot alerts + release v1.1.10 - #44
Merged
Merged
Conversation
Resolves critical alerts in certifi, pillow, and PyJWT, high-severity alerts in black, dnspython, filelock, and virtualenv, and the medium/low alerts in tornado and the above via lock regeneration: - certifi -> 2026.11.20, pillow -> 13.0.0, pyjwt -> 2.15.1 - black -> 26.10.1, dnspython -> 2.9.2, filelock -> 4.3.1 - tornado -> 6.6.1, virtualenv -> 21.15.13 - lnbits 1.6.2 -> 1.7.1 (needed to unpin pyjwt ~=2.12.0) lnbits pins pillow (~=12.3.0) and packaging (~=25.0.0) to ranges that only contain vulnerable versions, so uv overrides force the patched versions in the dev/test lock environment. Production deployments use whatever versions the host lnbits install provides. bitstring is capped below 5.0.0 because bolt11 2.1.x (pinned by lnbits) imports ConstBitStream, which bitstring 5.x removed. requires-python narrowed to >=3.11 (pillow 13 requirement; python 3.10 is EOL as of October 2026). Tests: 7 passed via `python -m pytest decoder/tests` from parent dir.
The dependency tree resolves cleanly on 3.13, and the lint CI runs on python 3.13 - the <3.13 pin is what makes every lint job fail on main.
coincurve 20.0.0 has no cp313 wheels and its sdist fails to build with current scikit-build-core, which broke every lint CI job's env install.
Owner
Author
|
Note on CI: the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
uv.lock: critical (certifi,pillow,PyJWT), high (black,dnspython,filelock,virtualenv), plus medium/low (tornadoet al.)lnbits1.6.2 → 1.7.1 — required because lnbits 1.6.x pinspyjwt~=2.12.0, and PyJWT CVEs are only fixed in 2.14+override-dependenciesforpillow>=13.0.0,packaging>=26.3,virtualenv>=21.14.9,bitstring<5.0.0— these affect only the dev/test lock environment; production uses the host lnbits install's versions. Rationale documented in pyproject.toml commentsrequires-pythonnarrowed to>=3.11(pillow 13 needs it; Python 3.10 is EOL)pyproject.toml,config.json,package.json,package-lock.jsonfor the releaseNote
One medium PyJWT alert (no patched version published yet) cannot be resolved by upgrading and will remain open.
Test plan
python -m pytest decoder/testsfrom parent dir: 7 passed